package com.mcxx.modules.temporary.family.entity;

import lombok.Data;

import java.util.Date;


@Data
public class TmpFamilyMainHistoryEntity {

	private String id;

	private String orderId;

	private String familyId;

	private String areaCode;

	private String familyCode;

	private String name;

	private String idcard;

	private String familyType;

	private String memberType;

	private String mainReason;

	private Integer familyNumber;

	private String phone;

	private Byte oneThingCheck;

	private Integer saveMemberNumber;

	private String address;

	private String censusPlace;

	private String beloneCode;

	private String accCardNo;

	private String salvationNo;

	private String orgId;

	private String createBy;

	private Date createTime;

	private String remark;

	private String field01;

	private String field02;

	private String field03;

	private String field04;

	private String zipCode;


	@Override
    public boolean equals(Object o) {
        if (this == o) { return true; }
        if (o == null || getClass() != o.getClass()) {return false;}
		TmpFamilyMainHistoryEntity that = (TmpFamilyMainHistoryEntity) o;
        return id.equals(that.id);
    }

    @Override
    public int hashCode() {
        return java.util.Objects.hash(id);
    }

    @Override
    public String toString() {
        return "TmpFamilyMainHistory{" +
				"id=" + id +
						",orderId='" + orderId + "'" +
						",familyId='" + familyId + "'" +
						",areaCode='" + areaCode + "'" +
						",familyCode='" + familyCode + "'" +
						",name='" + name + "'" +
						",idcard='" + idcard + "'" +
						",familyType='" + familyType + "'" +
						",memberType='" + memberType + "'" +
						",mainReason='" + mainReason + "'" +
						",familyNumber='" + familyNumber + "'" +
						",phone='" + phone + "'" +
						",oneThingCheck='" + oneThingCheck + "'" +
						",saveMemberNumber='" + saveMemberNumber + "'" +
						",address='" + address + "'" +
						",censusPlace='" + censusPlace + "'" +
						",beloneCode='" + beloneCode + "'" +
						",accCardNo='" + accCardNo + "'" +
						",salvationNo='" + salvationNo + "'" +
						",orgId='" + orgId + "'" +
						",createBy='" + createBy + "'" +
						",createTime='" + createTime + "'" +
						",remark='" + remark + "'" +
						",field01='" + field01 + "'" +
						",field02='" + field02 + "'" +
						",field03='" + field03 + "'" +
						",field04='" + field04 + "'" +
		                '}';
    }

}
